#include "global.h"

Uint32 debug0 = 0;
Uint32 debug1 = 0;
Uint32 debug2 = 0;
Uint32 debug3 = 0;
Uint32 debug4 = 0;
Uint32 debug5 = 0;
Uint32 debug6 = 0;


volatile Int32 g_mode = 0;
volatile Int32 g_freeze = 0;
volatile Int32 g_mode_color = 0;
volatile Int32 g_mode_resize = 0;
volatile Int32 resize_flag = 0;
volatile Int32 key_flag = 0;

unsigned char inbufcnt=0;
unsigned char outbufcnt=0;

volatile Uint8 InBufStat[4] = {0, 0, 0, 0};
volatile Uint8 OutBufStat[4] = {0, 0, 0, 0};

Uint32 RszDoneBufAddr = VPFE_INBUFFER0;
Uint32 RszDoingBufAddr = VPFE_INBUFFER1;

Uint32 VencDoneBufAddr = VPBE_OUTBUFFER0;
Uint32 VencDoingBufAddr = VPBE_OUTBUFFER1;

Uint32 VpfeInBufAddr[4] = {VPFE_INBUFFER0, VPFE_INBUFFER1, VPFE_INBUFFER2, VPFE_INBUFFER3};
Uint32 VpbeOutBufAddr[4] = {VPBE_OUTBUFFER0, VPBE_OUTBUFFER1, VPBE_OUTBUFFER2, VPBE_OUTBUFFER3};

